package com.qqtech.qquan.circle.model;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.common.util.TimeUtil;

@SuppressWarnings("serial")
public class CircleTopicQuery extends CircleTopic{
	
	/**搜索的文字**/
	private java.lang.String circleName;
	/**圈子ID列表**/
	private List<Integer> circleIds;
	/**
	 * 过滤userIds
	 */
	private List<Integer> filterUserIds;
	/**
	 * 查询开始时间
	 */
	private java.sql.Timestamp startAt;
	/**
	 * 查询结束时间
	 */
	private java.sql.Timestamp endAt;
	
	/**
	 * 社区ID【用于查询社区的圈子动态传参】
	 */
	private java.lang.Integer communityId;
	
	/**社区名称**/
	private java.lang.String communityName;
	
	public java.lang.String getCommunityName() {
		return communityName;
	}

	public void setCommunityName(java.lang.String communityName) {
		this.communityName = communityName;
	}

	public void setStartAtStr(String v) {
		this.setStartAt(TimeUtil.getTimeByDatetimeLocal(v));
	}
	
	public void setEndAtStr(String v) {
		this.setEndAt(TimeUtil.getTimeByDatetimeLocal(v));
	}

	public java.sql.Timestamp getStartAt() {
		return startAt;
	}

	public void setStartAt(java.sql.Timestamp startAt) {
		this.startAt = startAt;
	}

	public java.sql.Timestamp getEndAt() {
		return endAt;
	}

	public void setEndAt(java.sql.Timestamp endAt) {
		this.endAt = endAt;
	}
	public List<Integer> getFilterUserIds() {
		return filterUserIds;
	}

	public void setFilterUserIds(List<Integer> filterUserIds) {
		this.filterUserIds = filterUserIds;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public java.util.List<Integer> getCircleIds() {
		return circleIds;
	}

	public void setCircleIds(java.util.List<Integer> circleIds) {
		this.circleIds = circleIds;
	}

	public java.lang.String getCircleName() {
		return circleName;
	}

	public void setCircleName(java.lang.String circleName) {
		this.circleName = circleName;
	}

	public java.lang.Integer getCommunityId() {
		return communityId;
	}

	public void setCommunityId(java.lang.Integer communityId) {
		this.communityId = communityId;
	}
}